package com.yuou.mapper;

import org.apache.ibatis.annotations.Param;

import com.yuou.model.Bloger;

public interface BlogerMapper {
	
	String getPassword(Integer id);
    
    int deleteByPrimaryKey(Integer id);
    
    int updatePassword(@Param("id")Integer id,@Param("password")String password);
    
    int insert(Bloger bloger);

    
    int insertSelective(Bloger bloger);

    
    Bloger getByPrimaryKey(Integer id);

    
    int updateByPrimaryKeySelective(Bloger bloger);

    
    int updateByPrimaryKey(Bloger bloger);
    
     Bloger getUserByLoginName(String name);
}